module UsersHelper

  def login_div
    ret = '<div>'
    if(session[:user])
      ret << render(:partial => "users/logged")
    else
      ret << render(:partial => "users/login")
    end
    return ret << '</div>'
  end
end
